using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Kinect;
using BicycleTrafficSimulator.DataModel;
using System.Threading;
using UI = System.Windows.Forms;

namespace BicycleTrafficSimulator
{
    /// <summary>
    /// This is the main type for your game
    /// </summary>
    class GameEasyLevel : Game
    {

        public GameEasyLevel(Scene _scene) : base(_scene)
        { }

        /// <summary>
        /// Allows the game to perform any initialization it needs to before starting to run.
        /// This is where it can query for any required services and load any non-graphic
        /// related content.  Calling base.Initialize will enumerate through any components
        /// and initialize them as well.
        /// </summary>
        public override void Initialize()
        {

          
     
        //    this.kinect = new KinectController();

            this.city = new City("CityPlanEasyGame.txt");
            this.car = new Car("easy");            
           
            base.Initialize();
        }

        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            base.LoadContent();
            city.LoadContent(gameContent, "citytexture_easylevel", GraphicsDevice);    
     
        }


       // private float speedUpDownValue = 0;

       // private Vector3 addVectorUGlobal;
       // private float moveSpeedGlobal;


 
    }
}
